package com.lg.erp.service.jml;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lg.erp.entity.jml.TDepartment;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jml
 * @since 2021-04-12
 */
public interface ITDepartmentService extends IService<TDepartment> {
    IPage<TDepartment> selectDepartmentByPage(Page<TDepartment> page);

    List<TDepartment> findAllDepartment();

    TDepartment selectById(String id);

    TDepartment selectByName(String dName);

    List<TDepartment> selectAll();
}
